<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<html>
<head>
<script type="text/javascript" src="JsAjax/ajaxfunction.js"></script>
<script type="text/javascript">
	var btn_submit=document.getElementById("btn_submit");
	var btn_reset=document.getElementById("btn_reset");
	var interval;
	
	function submit(){
		getData();
	};
	function reset(){
	 clearInterval(interval);
	 };
</script>
<title>AjaxDemo</title>
</head>
<body>


	<div>
		<div align="left">
			<textarea style="font-size:15px" rows="20" cols="80" id="txt1">输入sql语句查询，显示区域</textarea>
			<br /> <br />
		</div>
		 
		<div align="right">
			<object
				data="http://cdn.abowman.com/widgets/hamster/hamster.swf?up_bodyColor=f0e9cc&amp;up_feetColor=D4C898&amp;up_eyeColor=000567&amp;up_wheelSpokeColor=DEDEDE&amp;up_wheelColor=FFFFFF&amp;up_waterColor=E0EFFF&amp;up_earColor=b0c4de&amp;up_wheelOuterColor=FF4D4D&amp;up_snoutColor=F7F4E9&amp;up_bgColor=F0E4E4&amp;up_foodColor=cba920&amp;up_wheelCenterColor=E4EB2F&amp;up_tailColor=E6DEBE&amp;"
				style="outline:none;" type="application/x-shockwave-flash"
				height="160" width="200"> </object>
		</div>
		
	</div>
	<input type="text" id="select"
		style="width: 600;height:30;border:2px solid " value="sql语句输入区域"
		onmouseover="javascript:if(this.value=='sql语句输入区域')this.value='';"
		onmouseout="javascript:if(this.value=='')this.value='sql语句输入区域';">
	<br />
	<br />
	<input type="text" id="timer"
		style="width: 150;height:30;border:2px solid " value="输入定时时间（秒）"
		onmouseover="javascript:if(this.value=='输入定时时间（秒）')this.value='';"
		onmouseout="javascript:if(this.value=='')this.value='输入定时时间（秒）';">
	<br />
	<br />
	<input type="button" id="btn_submit" value="确定提交" onclick="submit()" />
	<input type="button" id="btn_reset" value="重置参数" onclick="reset()" />
	<br />

</body>
</html>
